//
//  XLCustomTextView.h
//  Current
//
//  Created by 于鹏 on 2017/8/23.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XLCustomTextView;
@protocol XLCustomTextViewDelegate <NSObject>

- (void)xl_customTextView:(XLCustomTextView *)textView updateText:(NSString *)text;

@end

@interface XLCustomTextView : UIView
@property (nonatomic, weak)id<XLCustomTextViewDelegate>xl_customTextViewDelegate;
/** placeholder*/
@property (nonatomic, copy) NSString *placeHolder;
/** text*/
@property (nonatomic, copy) NSString *text;
/** font*/
@property (nonatomic, strong) UIFont *font;
/** 边框颜色*/
@property (nonatomic, strong)UIColor *borderColor;
/** 显示按钮(默认隐藏)*/
@property (nonatomic, assign, getter=isShowButton)BOOL showButton;

- (CGFloat)xl_textViewHeight;
@end
